<script>
$(function() {
	solveInputFocus();	// 解决input 不能获取焦点问题
});
</script>
<h3 class="page_title">添加物品申请</h3>
<form id="editApplyForm">
	<div class="contentTable form">
		<dl>
			<dt>标题</dt>
			<dd>
				<input type="text" id="title_applye" name="title" class="form_input radius4" style="width:90%;"/>
			</dd>
		</dl>
		<dl>
			<dt>类型</dt>
			<dd>
				<input type="radio" class="ddRadio" name="sort" value="1" checked="checked" /> 
				<label style="width:30%; padding:0; font-size:12px; margin:0; font-weight:normal; vertical-align:middle">消耗品</label>
				<input type="radio" class="ddRadio" name="sort" value="2" /> 
				<label style="width:30%; padding:0; font-size:12px; margin:0; font-weight:normal; vertical-align:middle">固定资产</label>
			</dd>
		</dl>
		<table class="table table-striped table-bordered table-hover" style="margin-bottom: 1px;">
			<thead>
				<tr>
					<th>名称</th>
					<th style="width:60px;">数量</th>
					<th style="width:30px;text-align:center;">操作</th>
				</tr>
			</thead>
			<tbody id="apply_item">
				<tr class="rep">
					<td><input type="text" class="form_input name" name="adList[0].gn" onkeyup="javascript:subTitle_apply();"/></td>
					<td><input type="text" class="form_input count" name="adList[0].count" onkeyup="javascript:subTitle_apply();"/></td>
					<td style="color:red;text-align:center;" onclick="javscript:delRow_apply($(this));">&nbsp;X&nbsp;</td>
				</tr>
			</tbody>
		</table>
		<div id="addRow" i="1" class="loadMore radius8" onclick="javascript:addRow_apply();">增加行</div>
	</div>
</form>

<a class="button_12 blue blue_borderbottom radius4" href="javascript:;" onclick="javascript:save_apply();">保存</a>
<a class="button_12 green green_borderbottom radius4" href="javascript:;" onclick="javascript:sys_load_handl('apply');">取消</a>
	

<table class="table table-striped table-bordered table-hover"
	id="ul_rep" style="display:none;">
	<tr class="rep">
		<td><input type="text" class="form_input name" onkeyup="javascript:subTitle_apply();"/></td>
		<td><input type="text" class="form_input count" onkeyup="javascript:subTitle_apply();"/></td>
		<td style="color:red;text-align:center;" onclick="javscript:delRow_apply($(this));">&nbsp;X&nbsp;</td>
	</tr>
</table>